﻿@model HanGu.Entity.ChangeChargeRecorde
@{
    Layout = null;
    var memberInfo = ViewData["MemberInfo"] as HanGu.Entity.MemberInfo;
}
<div class="pageContent">
    <form method="post" id="RechargeForm" action="admin/@ViewData["CurrentController"]/Create"  class="pageForm required-validate"
    onsubmit="return validateCallback(this, navTabAjaxDone);">
    @Html.ValidationSummary(true)
    @Html.HiddenFor(model => model.ID)
    @Html.HiddenFor(model => model.VIPID)
    <div class="pageFormContent" layouth="56">
        <p>
            <label>
                现有积分：</label>
                @Html.TextBox("SourceValue", memberInfo.Charge, new {@Readonly="true" })            
        </p>
        <p>
            <label>
                充值积分：</label>
            @Html.TextBoxFor(model=>model.ChangeValue)
        </p>
        <p>
            <label>
                创建时间：</label>
            @Html.TextBoxFor(model => model.ChangeTime, new { @Readonly = "true" })
            @Html.ValidationMessageFor(model => model.ChangeTime)
        </p>
        <p>
            <label>
                创建者：</label>
            @Html.TextBoxFor(model => model.Changer, new { @Readonly = "true" })
            @Html.ValidationMessageFor(model => model.Changer)
        </p>
        <p style="width: 100%; height: 220px">
            <label>
                备注：</label>
            @Html.TextAreaFor(model => model.ChangeReason, new { @class = "TextArea", cols = "100", rows = "10" })
            @Html.ValidationMessageFor(model => model.ChangeReason)
        </p>
    </div>
    <div class="formBar">
        <ul>
            <li>
                <div class="buttonActive">
                    <div class="buttonContent">
                        <button type="submit">
                            提交</button></div>
                </div>
            </li>
            <li>
                <div class="button">
                    <div class="buttonContent">
                        <button type="button" class="close">
                            取消</button></div>
                </div>
            </li>
        </ul>
    </div>
    </form>
</div>
